package com.team.student.service;


import com.github.pagehelper.PageInfo;
import com.team.student.entity.Grade;
import com.team.student.entity.Stu;
import com.team.student.entity.StuCondition;
import com.team.student.entity.StuExample;

import java.util.List;

public interface FindStuAndGrade {
   List<Stu> FindStuAndGrade();

   public Integer delStu(Integer studentno);

   List<Grade> FindAllGrade();

   public void delStuAndGrade(Integer gradeid);

   List<Grade> getAllGrade();

   public void addStu(Stu stu);

   Stu findSingleStu(Integer studentno);

   public void updateStu(Stu stu);

   PageInfo<Stu> getAllStuLim(Integer pageNo, Integer pageSize);

   PageInfo<Stu> findStuCondition(StuCondition stuCondition);

   PageInfo<Stu> selectStuAndGrade(StuCondition stuCondition);


}
